package collection;

import com.sun.jndi.ldap.Connection;

public class MyArrayListTest {
    public static void main(String[] args) {
        MyArrayList<String> list = new MyArrayList<>();
        list.add("hello");
        list.add("world");
        list.add("java");
        System.out.println(list);
        System.out.println(list.size());
        System.out.println(list.get(1));
        System.out.println(list.contains("java"));
        System.out.println(list.remove(1));
        System.out.println(list.toString());


    }
}
